package com.redijedi.tapestry.internal.tree;

import com.redijedi.tapestry.ITreeNodeModel;

/**
 * @author torr
 * 
 */
public class TreeRendererCommandNodeSet {

	private final ITreeNodeModel<?> node;

	private final TreeRendererCommand command;

	/**
	 * @param node
	 * @param command
	 */
	public TreeRendererCommandNodeSet(ITreeNodeModel<?> node,
			TreeRendererCommand command) {
		this.node = node;
		this.command = command;
	}

	public ITreeNodeModel<?> getNode() {
		return node;
	}

	public TreeRendererCommand getCommand() {
		return command;
	}

}
